<template>
  <div>
    <GpBaseTable primary-key="id" :columns="columns" :url="url"   sync-data-url="/xcdhTrading/stockBidding/syncDayBidding">
    </GpBaseTable>
  </div>
</template>

<script>
export default {
  name: "StockBidding" ,
  data(){
    return {
      columns: [

        {
          "title": "数据日期",
          "key": "tradeDate",
          search: true ,
          is: "el-date-picker" ,
          attrs:{
            width: 100 ,
            "value-format":"yyyyMMdd"
          }

        },
        {
          "title": "股票名称",
          "key": "name",
          search: true ,
        },
        {
          "title": "昨收价（元）",
          "key": "preClose"
        },
        {
          "title": "成交均价（元）",
          "key": "price"
        },
        {
          "title": "成交量（股）",
          "key": "vol"
        },
        {
          "title": "成交金额（元）",
          "key": "amount"
        },

        {
          "title": "换手率（%）",
          "key": "turnoverRate"
        },
        {
          "title": "量比",
          "key": "volumeRatio"
        },
        {
          "title": "流通股本（万股）",
          "key": "floatShare"
        }
      ],
      url: "/xcdhTrading/stockBidding/v2/listByPage"
    }
  }
}
</script>

<style scoped>

</style>
